-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Edgecore][sonic-platform-modules-accton]Support kernel 6.1 and bookworm #16982
[Edgecore][sonic-platform-modules-accton]Support kernel 6.1 and bookworm #16982
Conversation
This PR is for fix issue, |
Thank you for updating the Accton platform module for Bookworm! Since it looks like there's a dependency on PDDF, I'll get #16954 merged in first and then have the PR checkers be rerun, and verify that the Broadcom build succeeds. |
@jostar-yang Could you resolve the conflicts? I think cherry-picking the pddf commit introduced the conflicts. |
OK. Done to fix conflicts. |
/azpw run Azure.sonic-buildimage |
/azpw run |
/azpw run Azure.sonic-buildimage |
…orm (sonic-net#16982) * [Edgecore][sonic-platform-modules-accton]Support kernel 6.1 and bookworm * Modify pddf drv code for i2c_remove_callback function fail
…orm (sonic-net#16982) * [Edgecore][sonic-platform-modules-accton]Support kernel 6.1 and bookworm * Modify pddf drv code for i2c_remove_callback function fail
…orm (#16982) * [Edgecore][sonic-platform-modules-accton]Support kernel 6.1 and bookworm * Modify pddf drv code for i2c_remove_callback function fail
Why I did it
The sonic-platform-modules-accton package builds were failing to build against the 6.1 kernel in bookworm branch.
Work item tracking
How I did it
Enable rule.mk to let build sonic-platform-modules-accton
Modify accton driver that use "i2c_driver->remove callback function" to use "void" instead of "init".
Because kernel 6.1 has change to be below.
struct i2c_driver {
unsigned int class;
Old kernel define as below,
.....
init (*remove)(struct i2c_client *client);
How to verify it
Build deb.
BLDENV=bookworm make -f Makefile.work $@
Check deb can build successfully
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)